windowcontrols: decoration-layout is nullable
authorTimm Bäder <mail@baedert.org>
Sun, 11 Oct 2020 10:17:53 +0000 (12:17 +0200)
committerMatthias Clasen <mclasen@redhat.com>
Wed, 14 Oct 2020 19:06:12 +0000 (15:06 -0400)
gtk/gtkwindowcontrols.c

index 83ee0e23c9db3a8df4ddaa94f69f803c41aeb9c2..b7e2acf17c908271d2b2f7310a8957e83321fd25 100644 (file)
@@ -624,7 +624,7 @@ gtk_window_controls_set_side (GtkWindowControls *self,
  * Gets the decoration layout set with
  * gtk_window_controls_set_decoration_layout().
  *
- * Returns: the decoration layout
+ * Returns: (nullable): the decoration layout or %NULL if it is unset
  */
 const char *
 gtk_window_controls_get_decoration_layout (GtkWindowControls *self)
@@ -637,7 +637,7 @@ gtk_window_controls_get_decoration_layout (GtkWindowControls *self)
 /**
  * gtk_window_controls_set_decoration_layout:
  * @self: a #GtkWindowControls
- * @layout: (allow-none): a decoration layout, or %NULL to
+ * @layout: (nullable): a decoration layout, or %NULL to
  *     unset the layout
  *
  * Sets the decoration layout for the title buttons, overriding